# jenkins 发布  文件推送

nodejs:
    file.managed:
        - name: /home/xidian/{{pillar['JOBNAME']}}.tar.gz
        - source: salt://workspace/{{pillar['WORKSPACE']}}/{{pillar['JOBNAME']}}.tar.gz
        #- source: salt://{{pillar['WORKSPACE']}}{{pillar['JOBNAME']}}.tar.gz
        - user: xidian
        - group: xidian
        - mode: 644
